package edu.zut.bailan.admin.service.impl;

import edu.zut.bailan.admin.dao.UserDao;
import edu.zut.bailan.admin.domain.User;
import edu.zut.bailan.admin.service.UserManager;
import edu.zut.bailan.base.service.impl.GenericManagerImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;


@Component
@Transactional
public class UserManagerImpl extends GenericManagerImpl<User, Long> implements UserManager {
    UserDao userDao;
//UserDaoManagerImpl
    @Autowired
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
        this.dao = this.userDao;
    }

}